package FIT::Util::SpecialChars;

use FIT::Class;
use utf8;
use base 'Exporter';

our @EXPORT = qw(
    $NBSP_REPLACEMENT
    $ESCAPED_TAB
    $NO_TRIM_QUOTE
    $OCTET_ESCAPE
    $UNICODE_ESCAPE

    $MARKER_SKIP
    $MARKER_SAME_AS_ABOVE
    $MARKER_EXPECTED_ERROR
    $MARKER_EXPRESSION
    $MARKER_PRODUCT
    $MARKER_BLANK
    $MARKER_KNOWN
);

# HTML to text special characters ----------------------------------------------

# U+336B IDEOGRAPHIC TELEGRAPH SYMBOL FOR HOUR NINETEEN, hope it ain't used
our $NBSP_REPLACEMENT = "\x{336B}";  
our $ESCAPED_TAB      = '¬'; # 00AC
our $NO_TRIM_QUOTE    = '‡'; # 2021
our $OCTET_ESCAPE     = 'β'; # 03B2
our $UNICODE_ESCAPE   = 'μ'; # 03BC

# Used by various document handlers --------------------------------------------

our $MARKER_SKIP           = '№'; # 2116
our $MARKER_SAME_AS_ABOVE  = '↑'; # 2191
our $MARKER_EXPECTED_ERROR = '⚡'; # 26A1
our $MARKER_EXPRESSION     = 'λ'; # 03BB
our $MARKER_PRODUCT        = '∏'; # 220F
our $MARKER_BLANK          = '¿'; # 00BF
our $MARKER_KNOWN          = '©'; # 00A9

